package service.Impl;

import dao.HandSetMapper;
import org.springframework.beans.factory.annotation.Autowired;
import pojo.HandSet;

import java.util.List;

public class HandSetServiceImpl implements HandSetMapper {
    @Autowired
    private HandSetMapper handSetMapper;
    @Override
    public List<HandSet> list() {
        List<HandSet> list = handSetMapper.list();
        return list;
    }

    @Override
    public HandSet findId(int hsId) {
        return handSetMapper.findId(hsId);
    }

    @Override
    public int delete(int hsId) {
        return handSetMapper.delete(hsId);
    }
}
